package com.leyou.goods.item.bo;

import com.leyou.goods.item.pojo.Spu;

import java.util.Date;

public class SpuBo extends Spu {
    String cname;
    String bname;

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }

    public SpuBo() {
    }

    public SpuBo(Long id, Long brandId, Long cid1, Long cid2, Long cid3, String title, String subTitle, Boolean saleable, Boolean valid, Date createTime, Date lastUpdateTime) {
        super(id, brandId, cid1, cid2, cid3, title, subTitle, saleable, valid, createTime, lastUpdateTime);
    }

    public SpuBo(String cname) {
        this.cname = cname;
    }

    public SpuBo(Long id, Long brandId, Long cid1, Long cid2, Long cid3, String title, String subTitle, Boolean saleable, Boolean valid, Date createTime, Date lastUpdateTime, String cname) {
        super(id, brandId, cid1, cid2, cid3, title, subTitle, saleable, valid, createTime, lastUpdateTime);
        this.cname = cname;
    }

    public SpuBo(String cname, String bname) {
        this.cname = cname;
        this.bname = bname;
    }

    public SpuBo(Long id, Long brandId, Long cid1, Long cid2, Long cid3, String title, String subTitle, Boolean saleable, Boolean valid, Date createTime, Date lastUpdateTime, String cname, String bname) {
        super(id, brandId, cid1, cid2, cid3, title, subTitle, saleable, valid, createTime, lastUpdateTime);
        this.cname = cname;
        this.bname = bname;
    }
}
